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

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

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

Revision 1.1 by slords, Sat Feb 6 20:36:50 2010 UTC Revision 1.5 by snetram, Wed Sep 28 17:13:27 2011 UTC
# Line 1  Line 1 
1  %define contentdir /var/www  %global contentdir  /var/www
2  %define apiver 20041225  # API/ABI check
3  %define zendver 20060613  %global apiver      20090626
4  %define pdover 20060511  %global zendver     20090626
5    %global pdover      20080721
6    # Extension version
7    %global fileinfover 1.0.5-dev
8    %global pharver     2.0.1
9    %global zipver      1.9.1
10    %global jsonver     1.2.1
11    
12    %define httpd_mmn %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
13    
14    # Use the arch-specific mysql_config binary to avoid mismatch with the
15    # heuristic used by bindir/mysql_config.
16    %define mysql_config %{_libdir}/mysql/mysql_config
17    
18  Summary: The PHP HTML-embedded scripting language  Summary: PHP scripting language for creating dynamic web sites
19  Name: php  Name: php
20  Version: 5.2.10  Version: 5.3.3
21  Release: 1%{?dist}  Release: 1%{?dist}.1.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 16  Source1: php.conf Line 28  Source1: php.conf
28  Source2: php.ini  Source2: php.ini
29  Source3: macros.php  Source3: macros.php
30    
31  Patch1: php-5.2.4-gnusrc.patch  # Build fixes
32  Patch2: php-4.3.3-install.patch  Patch1: php-5.3.3-gnusrc.patch
33    Patch2: php-5.3.0-install.patch
34  Patch3: php-5.2.4-norpath.patch  Patch3: php-5.2.4-norpath.patch
35  Patch5: php-5.0.2-phpize64.patch  Patch4: php-5.3.0-phpize64.patch
36  Patch8: php-5.2.0-includedir.patch  Patch5: php-5.2.0-includedir.patch
37  Patch9: php-5.2.4-embed.patch  Patch8: php-5.3.3-aconf26x.patch
38    
39  # Fixes for extension modules  # Fixes for extensions
40  Patch21: php-5.2.4-odbc.patch  Patch20: php-4.3.11-shutdown.patch
 Patch22: php-4.3.11-shutdown.patch  
 Patch24: php-5.2.3-macropen.patch  
41    
42  # Functional changes  # Functional changes
43  Patch30: php-5.0.4-dlopen.patch  Patch40: php-5.0.4-dlopen.patch
44  Patch31: php-5.2.4-easter.patch  Patch41: php-5.3.0-easter.patch
45  Patch32: php-5.2.5-systzdata.patch  Patch42: php-5.3.1-systzdata-v7.patch
46    
47  # Fixes for tests  # Fixes for tests
48  Patch51: php-5.0.4-tests-wddx.patch  Patch61: php-5.0.4-tests-wddx.patch
49    Patch62: php-5.3.2-testfail.patch
50    
51    # Bug fixes
52    Patch100: php-5.3.2-r305570.patch
53    Patch101: php-5.3.3-r305043.patch
54    
55    # Fixes for security bugs
56    Patch207: php-5.3.2-CVE-2010-3709.patch
57    Patch208: php-5.3.2-CVE-2010-3870.patch
58    Patch209: php-5.3.3-CVE-2010-4156.patch
59    Patch210: php-5.3.3-CVE-2010-3710.patch
60    Patch211: php-5.3.2-CVE-2010-4645.patch
61    
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 68  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 84  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 108  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 139  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 152  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 167  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 181  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 200  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 211  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 223  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    Obsoletes: php-domxml, php-dom
256    
257  %description xml  %description xml
258  The php-xml package contains dynamic shared objects which add support  The php-xml package contains dynamic shared objects which add support
# Line 236  and performing XSL transformations on XM Line 262  and performing XSL transformations on XM
262  %package xmlrpc  %package xmlrpc
263  Summary: A module for PHP applications which use the XML-RPC protocol  Summary: A module for PHP applications which use the XML-RPC protocol
264  Group: Development/Languages  Group: Development/Languages
265  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 BuildRequires: expat-devel  
266    
267  %description xmlrpc  %description xmlrpc
268  The php-xmlrpc package contains a dynamic shared object that will add  The php-xmlrpc package contains a dynamic shared object that will add
# Line 246  support for the XML-RPC protocol to PHP. Line 271  support for the XML-RPC protocol to PHP.
271  %package mbstring  %package mbstring
272  Summary: A module for PHP applications which need multi-byte string handling  Summary: A module for PHP applications which need multi-byte string handling
273  Group: Development/Languages  Group: Development/Languages
274  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
275    
276  %description mbstring  %description mbstring
277  The php-mbstring package contains a dynamic shared object that will add  The php-mbstring package contains a dynamic shared object that will add
278  support for multi-byte string handling to PHP.  support for multi-byte string handling to PHP.
279    
 %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.  
   
280  %package gd  %package gd
281  Summary: A module for PHP applications for using the gd graphics library  Summary: A module for PHP applications for using the gd graphics library
282  Group: Development/Languages  Group: Development/Languages
283  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
284  BuildRequires: gd-devel, freetype-devel  # Required to build the bundled GD library
285    BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
286    
287  %description gd  %description gd
288  The php-gd package contains a dynamic shared object that will add  The php-gd package contains a dynamic shared object that will add
# Line 275  support for using the gd graphics librar Line 291  support for using the gd graphics librar
291  %package bcmath  %package bcmath
292  Summary: A module for PHP applications for using the bcmath library  Summary: A module for PHP applications for using the bcmath library
293  Group: Development/Languages  Group: Development/Languages
294  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
295    
296  %description bcmath  %description bcmath
297  The php-bcmath package contains a dynamic shared object that will add  The php-bcmath package contains a dynamic shared object that will add
# Line 284  support for using the bcmath library to Line 300  support for using the bcmath library to
300  %package dba  %package dba
301  Summary: A database abstraction layer module for PHP applications  Summary: A database abstraction layer module for PHP applications
302  Group: Development/Languages  Group: Development/Languages
303  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
304    
305  %description dba  %description dba
306  The php-dba package contains a dynamic shared object that will add  The php-dba package contains a dynamic shared object that will add
307  support for using the DBA database abstraction layer to PHP.  support for using the DBA database abstraction layer to PHP.
308    
309    %package pspell
310    Summary: A module for PHP applications for using pspell interfaces
311    Group: System Environment/Libraries
312    Requires: %{name}-common = %{version}-%{release}
313    BuildRequires: aspell-devel >= 0.50.0
314    
315    %description pspell
316    The php-pspell package contains a dynamic shared object that will add
317    support for using the pspell library to PHP.
318    
319    %package intl
320    Summary: Internationalization extension for PHP applications
321    Group: System Environment/Libraries
322    Requires: %{name}-common = %{version}-%{release}
323    BuildRequires: libicu-devel >= 3.6
324    
325    %description intl
326    The php-intl package contains a dynamic shared object that will add
327    support for using the ICU library to PHP.
328    
329  %prep  %prep
330  %setup -q  %setup -q -n php-%{version}
331  %patch1 -p1 -b .gnusrc  %patch1 -p1 -b .gnusrc
332  %patch2 -p1 -b .install  %patch2 -p1 -b .install
333  %patch3 -p1 -b .norpath  %patch3 -p1 -b .norpath
334  %patch5 -p1 -b .phpize64  %patch4 -p1 -b .phpize64
335  %patch8 -p1 -b .includedir  %patch5 -p1 -b .includedir
336  %patch9 -p1 -b .embed  %patch8 -p1 -b .aconf26x
337    
338  %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  
339    
340  %patch51 -p1 -b .tests-wddx  %patch40 -p1 -b .dlopen
341    %patch41 -p1 -b .easter
342    %patch42 -p1 -b .systzdata
343    
344    %patch61 -p1 -b .tests-wddx
345    %patch62 -p1 -b .testfail
346    
347    %patch100 -p1 -b .r305570
348    %patch101 -p1 -b .r305043
349    
350    %patch207 -p1 -b .cve3709
351    %patch208 -p1 -b .cve3870
352    
353    %patch209 -p1 -b .cve4156
354    %patch210 -p1 -b .cve3710
355    %patch211 -p1 -b .cve4645
356    
357  # Prevent %%doc confusion over LICENSE files  # Prevent %%doc confusion over LICENSE files
358  cp Zend/LICENSE Zend/ZEND_LICENSE  cp -p Zend/LICENSE Zend/ZEND_LICENSE
359  cp TSRM/LICENSE TSRM_LICENSE  cp -p TSRM/LICENSE TSRM_LICENSE
360  cp regex/COPYRIGHT regex_COPYRIGHT  cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
361  cp ext/gd/libgd/README gd_README  cp -p ext/gd/libgd/README gd_README
362    
363  # Source is built twice: once for /usr/bin/php, once for the Apache DSO.  # Multiple builds for multiple SAPIs
364  mkdir build-cgi build-apache  mkdir build-cgi build-apache
365    
366  # Remove bogus test; position of read position after fopen(, "a+")  # Remove bogus test; position of read position after fopen(, "a+")
# Line 326  rm -f ext/standard/tests/file/bug21131.p Line 371  rm -f ext/standard/tests/file/bug21131.p
371  rm -f ext/standard/tests/file/bug22414.phpt \  rm -f ext/standard/tests/file/bug22414.phpt \
372        ext/iconv/tests/bug16069.phpt        ext/iconv/tests/bug16069.phpt
373    
374    # Remove tests which require external network access
375    rm -f ext/sockets/tests/socket_bind.diff
376    
377    # Easter eggs no not shipped
378    rm -f tests/basic/php_egg_logo_guid.diff
379    
380  # Safety check for API version change.  # Safety check for API version change.
381  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
382  if test "x${vapi}" != "x%{apiver}"; then  if test "x${vapi}" != "x%{apiver}"; then
# Line 349  if test "x${vpdo}" != "x%{pdover}"; then Line 400  if test "x${vpdo}" != "x%{pdover}"; then
400     exit 1     exit 1
401  fi  fi
402    
403    # Check for some extension version
404    ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
405    if test "$ver" != "%{fileinfover}"; then
406       : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
407       : Update the fileinfover macro and rebuild.
408       exit 1
409    fi
410    ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
411    if test "$ver" != "%{pharver}"; then
412       : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
413       : Update the pharver macro and rebuild.
414       exit 1
415    fi
416    ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
417    if test "$ver" != "%{zipver}"; then
418       : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
419       : Update the zipver macro and rebuild.
420       exit 1
421    fi
422    ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
423    if test "$ver" != "%{jsonver}"; then
424       : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
425       : Update the jsonver macro and rebuild.
426       exit 1
427    fi
428    
429    # Fix some bogus permissions
430    find . -name \*.[ch] -exec chmod 644 {} \;
431    chmod 644 README.*
432    
433  %build  %build
434    # aclocal workaround - to be improved
435    cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
436    
437  # Force use of system libtool:  # Force use of system libtool:
438  libtoolize --force --copy  libtoolize --force --copy
439  cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4  cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
440    
441  # Regenerate configure scripts (patches change config.m4's)  # Regenerate configure scripts (patches change config.m4's)
442    touch configure.in
443  ./buildconf --force  ./buildconf --force
444    
445  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
# Line 383  ln -sf ../configure Line 468  ln -sf ../configure
468          --disable-rpath \          --disable-rpath \
469          --without-pear \          --without-pear \
470          --with-bz2 \          --with-bz2 \
         --with-curl \  
471          --with-exec-dir=%{_bindir} \          --with-exec-dir=%{_bindir} \
472          --with-freetype-dir=%{_prefix} \          --with-freetype-dir=%{_prefix} \
473          --with-png-dir=%{_prefix} \          --with-png-dir=%{_prefix} \
474            --with-xpm-dir=%{_prefix} \
475          --enable-gd-native-ttf \          --enable-gd-native-ttf \
476          --without-gdbm \          --without-gdbm \
477          --with-gettext \          --with-gettext \
# Line 394  ln -sf ../configure Line 479  ln -sf ../configure
479          --with-iconv \          --with-iconv \
480          --with-jpeg-dir=%{_prefix} \          --with-jpeg-dir=%{_prefix} \
481          --with-openssl \          --with-openssl \
         --with-png \  
         --with-pspell \  
         --with-expat-dir=%{_prefix} \  
482          --with-pcre-regex=%{_prefix} \          --with-pcre-regex=%{_prefix} \
483          --with-zlib \          --with-zlib \
484          --with-layout=GNU \          --with-layout=GNU \
# Line 405  ln -sf ../configure Line 487  ln -sf ../configure
487          --enable-magic-quotes \          --enable-magic-quotes \
488          --enable-sockets \          --enable-sockets \
489          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
         --enable-track-vars \  
         --enable-trans-sid \  
         --enable-yp \  
         --enable-wddx \  
490          --with-kerberos \          --with-kerberos \
491          --enable-ucd-snmp-hack \          --enable-ucd-snmp-hack \
         --with-unixODBC=shared,%{_prefix} \  
         --enable-memory-limit \  
492          --enable-shmop \          --enable-shmop \
493          --enable-calendar \          --enable-calendar \
         --enable-dbx \  
         --enable-dio \  
         --without-mime-magic \  
494          --without-sqlite \          --without-sqlite \
495            --without-sqlite3 \
496          --with-libxml-dir=%{_prefix} \          --with-libxml-dir=%{_prefix} \
497          --with-xml \          --enable-xml \
498          --with-system-tzdata \          --with-system-tzdata \
499          $*          $*
500  if test $? != 0; then  if test $? != 0; then
# Line 437  pushd build-cgi Line 511  pushd build-cgi
511  build --enable-force-cgi-redirect \  build --enable-force-cgi-redirect \
512        --enable-pcntl \        --enable-pcntl \
513        --with-imap=shared --with-imap-ssl \        --with-imap=shared --with-imap-ssl \
514        --enable-mbstring=shared --enable-mbstr-enc-trans \        --enable-mbstring=shared \
515        --enable-mbregex \        --enable-mbregex \
       --with-ncurses=shared \  
516        --with-gd=shared \        --with-gd=shared \
517        --enable-bcmath=shared \        --enable-bcmath=shared \
518        --enable-dba=shared --with-db4=%{_prefix} \        --enable-dba=shared --with-db4=%{_prefix} \
519        --with-xmlrpc=shared \        --with-xmlrpc=shared \
520        --with-ldap=shared --with-ldap-sasl \        --with-ldap=shared --with-ldap-sasl \
521        --with-mysql=shared,%{_prefix} \        --with-mysql=shared,%{_prefix} \
522        --with-mysqli=shared,%{_bindir}/mysql_config \        --with-mysqli=shared,%{mysql_config} \
523        --enable-dom=shared \        --enable-dom=shared \
       --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \  
524        --with-pgsql=shared \        --with-pgsql=shared \
525          --enable-wddx=shared \
526        --with-snmp=shared,%{_prefix} \        --with-snmp=shared,%{_prefix} \
527        --enable-soap=shared \        --enable-soap=shared \
528        --with-xsl=shared,%{_prefix} \        --with-xsl=shared,%{_prefix} \
529        --enable-xmlreader=shared --enable-xmlwriter=shared \        --enable-xmlreader=shared --enable-xmlwriter=shared \
530          --with-curl=shared,%{_prefix} \
531        --enable-fastcgi \        --enable-fastcgi \
532        --enable-pdo=shared \        --enable-pdo=shared \
533        --with-pdo-odbc=shared,unixODBC,%{_prefix} \        --with-pdo-odbc=shared,unixODBC,%{_prefix} \
534        --with-pdo-mysql=shared,%{_prefix} \        --with-pdo-mysql=shared,%{mysql_config} \
535        --with-pdo-pgsql=shared,%{_prefix} \        --with-pdo-pgsql=shared,%{_prefix} \
536        --with-pdo-sqlite=shared,%{_prefix} \        --with-pdo-sqlite=shared,%{_prefix} \
537        --enable-json=shared \        --enable-json=shared \
538        --enable-zip=shared \        --enable-zip=shared \
539        --with-readline \        --without-readline \
540        --enable-dbase=shared        --with-pspell=shared \
541          --enable-phar=shared \
542          --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
543          --enable-posix=shared \
544          --with-unixODBC=shared,%{_prefix} \
545          --enable-fileinfo=shared \
546          --enable-intl=shared \
547          --with-icu-dir=%{_prefix}
548  popd  popd
549    
550    without_shared="--without-mysql --without-gd \
551          --disable-dom --disable-dba --without-unixODBC \
552          --disable-pdo --disable-xmlreader --disable-xmlwriter \
553          --without-sqlite3 --disable-phar --disable-fileinfo \
554          --disable-json --without-pspell --disable-wddx \
555          --without-curl --disable-posix \
556          --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
557    
558  # Build Apache module, and the CLI SAPI, /usr/bin/php  # Build Apache module, and the CLI SAPI, /usr/bin/php
559  pushd build-apache  pushd build-apache
560  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  
561  popd  popd
562    
563  %check  %check
# Line 486  if ! make test; then Line 570  if ! make test; then
570    for f in `find .. -name \*.diff -type f -print`; do    for f in `find .. -name \*.diff -type f -print`; do
571      echo "TEST FAILURE: $f --"      echo "TEST FAILURE: $f --"
572      cat "$f"      cat "$f"
573      echo "-- $f result ends."      echo -e "\n-- $f result ends.\n"
574    done    done
575    set -x    set -x
576    #exit 1    #exit 1
# Line 499  unset NO_INTERACTION REPORT_EXIT_STATUS Line 583  unset NO_INTERACTION REPORT_EXIT_STATUS
583  # Install everything from the CGI SAPI build  # Install everything from the CGI SAPI build
584  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
585    
 # Install the Apache module  
 make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT  
   
586  # Install the default configuration file and icons  # Install the default configuration file and icons
587  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
588  install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
589  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
590  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
591    
# Line 512  install -m 644    *.gif $RPM_BUILD_ROOT% Line 593  install -m 644    *.gif $RPM_BUILD_ROOT%
593  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
594                    $RPM_BUILD_ROOT%{_datadir}/php                    $RPM_BUILD_ROOT%{_datadir}/php
595    
 # Use correct libdir  
 sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  
   
596  # install the DSO  # install the DSO
597  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
598  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
599    
600  # Apache config fragment  # Apache config fragment
601  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
602    # %{SOURCE1} used here ->
603  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
604    
605  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
606  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
607  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
608    
609    # Fix the link
610    (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
611    
612  # Generate files lists and stub .ini files for each subpackage  # Generate files lists and stub .ini files for each subpackage
613  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
614      mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \      mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
615      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
616      dbase; do      phar fileinfo intl pspell curl wddx \
617        posix sysvshm sysvsem sysvmsg; do
618      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
619  ; Enable ${mod} extension module  ; Enable ${mod} extension module
620  extension=${mod}.so  extension=${mod}.so
# Line 543  EOF Line 626  EOF
626  done  done
627    
628  # The dom, xsl and xml* modules are all packaged in php-xml  # The dom, xsl and xml* modules are all packaged in php-xml
629  cat files.dom files.xsl files.xml{reader,writer} > files.xml  cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
630    
631  # The mysql and mysqli modules are both packaged in php-mysql  # The mysql and mysqli modules are both packaged in php-mysql
632  cat files.mysqli >> files.mysql  cat files.mysqli >> files.mysql
# Line 553  cat files.pdo_mysql >> files.mysql Line 636  cat files.pdo_mysql >> files.mysql
636  cat files.pdo_pgsql >> files.pgsql  cat files.pdo_pgsql >> files.pgsql
637  cat files.pdo_odbc >> files.odbc  cat files.pdo_odbc >> files.odbc
638    
639  # Package pdo_sqlite with pdo; isolating the sqlite dependency  # sysv* and posix in packaged in php-process
640  # isn't useful at this time since rpm itself requires sqlite.  cat files.sysv* files.posix > files.process
641    
642    # Package pdo_sqlite with pdo.
643  cat files.pdo_sqlite >> files.pdo  cat files.pdo_sqlite >> files.pdo
644    
645  # Package json, dbase and zip in -common.  # Package json, zip, curl, phar and fileinfo in -common.
646  cat files.json files.dbase files.zip > files.common  cat files.json files.zip files.curl files.phar files.fileinfo > files.common
647    
648  # Install the macros file:  # Install the macros file:
649  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
650    # %{SOURCE3} used here ->
651  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}/" \
652      < $RPM_SOURCE_DIR/macros.php > macros.php      < $RPM_SOURCE_DIR/macros.php > macros.php
653  install -m 644 -c macros.php \  install -m 644 -c macros.php \
# Line 570  install -m 644 -c macros.php \ Line 656  install -m 644 -c macros.php \
656  # Remove unpackaged files  # Remove unpackaged files
657  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
658         $RPM_BUILD_ROOT%{_bindir}/{phptar} \         $RPM_BUILD_ROOT%{_bindir}/{phptar} \
659         $RPM_BUILD_ROOT%{_datadir}/pear         $RPM_BUILD_ROOT%{_datadir}/pear \
660           $RPM_BUILD_ROOT%{_libdir}/libphp5.la
661    
662  # Remove irrelevant docs  # Remove irrelevant docs
663  rm -f README.{Zeus,QNX,CVS-RULES}  rm -f README.{Zeus,QNX,CVS-RULES}
# Line 588  rm files.* macros.php Line 675  rm files.* macros.php
675    
676  %files common -f files.common  %files common -f files.common
677  %defattr(-,root,root)  %defattr(-,root,root)
678  %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*  %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
679  %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT  %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
680    %doc php.ini-*
681  %config(noreplace) %{_sysconfdir}/php.ini  %config(noreplace) %{_sysconfdir}/php.ini
682  %dir %{_sysconfdir}/php.d  %dir %{_sysconfdir}/php.d
683  %dir %{_libdir}/php  %dir %{_libdir}/php
# Line 602  rm files.* macros.php Line 690  rm files.* macros.php
690  %defattr(-,root,root)  %defattr(-,root,root)
691  %{_bindir}/php  %{_bindir}/php
692  %{_bindir}/php-cgi  %{_bindir}/php-cgi
693    %{_bindir}/phar.phar
694    %{_bindir}/phar
695  %{_mandir}/man1/php.1*  %{_mandir}/man1/php.1*
696  %doc sapi/cgi/README* sapi/cli/README  %doc sapi/cgi/README* sapi/cli/README
697    
# Line 624  rm files.* macros.php Line 714  rm files.* macros.php
714  %files xml -f files.xml  %files xml -f files.xml
715  %files xmlrpc -f files.xmlrpc  %files xmlrpc -f files.xmlrpc
716  %files mbstring -f files.mbstring  %files mbstring -f files.mbstring
717  %files ncurses -f files.ncurses  %defattr(-,root,root)
718    %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
719  %files gd -f files.gd  %files gd -f files.gd
720    %defattr(-,root,root)
721    %doc gd_README
722  %files soap -f files.soap  %files soap -f files.soap
723  %files bcmath -f files.bcmath  %files bcmath -f files.bcmath
724    %defattr(-,root,root)
725    %doc ext/bcmath/libbcmath/COPYING.LIB
726  %files dba -f files.dba  %files dba -f files.dba
727  %files pdo -f files.pdo  %files pdo -f files.pdo
728    %files pspell -f files.pspell
729    %files intl -f files.intl
730    %files process -f files.process
731    
732  %changelog  %changelog
733  * Mon Aug 10 2009 Joe Orton <jorton@redhat.com> 5.2.10-1.el5s2  * Wed Sep 28 2011 Jonathan Martens <smeserver-contribs@snetram.nl> - 5.3.3-1.1.1
734  - update to 5.2.10  - Obsolete php-domxml and php-dom [SME: 6733]
735    
736  * Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 5.2.9-2.el5s2  * Tue Sep 13 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.1.0
737  - update to r3 of systzdata patch  - Update Obsoletes and Conflicts [SME: 6436]
738    
739    * Wed Jan 19 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.1
740    - add security fixes for CVE-2010-3710, CVE-2010-4156,
741      CVE-2010-4645 (#670463)
742    
743    * Wed Dec  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
744    - update to 5.3.3 (#658315)
745    
746    * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
747    - prevent extract() from clobering $GLOBALS (#655330)
748    
749    * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
750    - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
751    - provide php-devel from -devel (#642701)
752    
753  * Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 5.2.9-1.el5s2  * Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
754    - use correct mysql_config for pdo-mysql also (#642701)
755    
756    * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
757    - use mysql_config from libdir
758    
759    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
760    - add defattr for -mbstring and -bcmath
761    
762    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
763    - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
764    - apply phar patch correctly
765    - fix permissions on sources, README.namespaces
766    - drop EXTENSIONS from %%doc
767    - fix Provides for php-cli
768    - drop inappropriate/obsolete Obsoletes
769    
770    * Thu Sep  2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
771    - convert to php53
772    - remove subpackages: embeded, zts, tidy, recode, enchant
773    
774    * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
775    - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
776      CVE-2010-2531, MOPS-2010-060 (#624469)
777    
778    * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
779    - add security fix for CVE-2010-0397 (#575712)
780    
781    * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
782    - add security fix for CVE-2010-2225 (#605644)
783    
784    * Wed May  5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
785    - restore -imap (#586050)
786    
787    * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
788    - remove mcrypt support (#459804, #577257)
789    
790    * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
791    - update to 5.3.2 (#575158, #575712)
792    
793    * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
794    - PHP 5.3.2 Released!
795    - remove mime_magic option (now provided by fileinfo, by emu)
796    - add patch for http://bugs.php.net/50578
797    - remove patch for libedit (upstream)
798    
799    * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
800    - add security fix for CVE-2009-4142 (#552268)
801    
802    * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
803    - drop mssql, pdo_dblib
804    
805    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
806    - drop imap
807    
808    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
809    - drop t1lib, interbase/firebird support
810    
811    * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
812    - update to v7 of systzdata patch
813    
814    * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
815    - fix build with autoconf 2.6x
816    
817    * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
818    - update to 5.3.1
819    - remove openssl patch (merged upstream)
820    - add provides for php-pecl-json
821    - add prod/devel php.ini in doc
822    
823    * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
824    - use libedit instead of readline to resolve licensing issues
825    
826    * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
827    - rebuilt with new openssl
828    
829    * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
830    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
831    
832    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
833    - rediff systzdata patch
834    
835    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
836    - update to v6 of systzdata patch; various fixes
837    
838    * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
839    - update to v5 of systzdata patch; parses zone.tab and extracts
840      timezone->{country-code,long/lat,comment} mapping table
841    
842    * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
843    - update to 5.3.0
844    - remove ncurses, dbase, mhash extensions
845    - add enchant, sqlite3, intl, phar, fileinfo extensions
846    - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
847    - sync with upstream "production" php.ini
848    
849    * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
850    - update to 5.2.10
851    - add interbase sub-package
852    
853    * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
854  - update to 5.2.9  - update to 5.2.9
855    
856  * 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
857  - add security fixes for json_decode() crash (#494530),  - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
858    and CVE-2008-5658 - including regression fix (#494531)  
859    * Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
860  * Thu Feb 26 2009 Joe Orton <jorton@redhat.com> 5.2.6-3.el5s2  - add recode support, -recode subpackage (#106755)
861  - add security fixes for CVE-2008-3658, CVE-2008-3660,  - add -zts subpackage with ZTS-enabled build of httpd SAPI
862    CVE-2008-5498, CVE-2008-5557, CVE-2008-5814, CVE-2009-0754  - adjust php.conf to use -zts SAPI build for worker MPM
863    (#487371)  
864    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
865    - fix patch fuzz, renumber patches
866    
867    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
868    - drop obsolete configure args
869    - drop -odbc patch (#483690)
870    
871    * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
872    - split out sysvshm, sysvsem, sysvmsg, posix into php-process
873    
874    * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
875    - move wddx to php-xml, build curl shared in -common
876    - remove BR for expat-devel, bogus configure option
877    
878  * Fri May  9 2008 Joe Orton <jorton@redhat.com> 5.2.6-2.el5s2  * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
879    - rebuild for new MySQL
880    
881    * Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
882    - libtool 2 workaround for phpize (#476004)
883    - add missing php_embed.h (#457777)
884    
885    * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
886    - update to 5.2.8
887    
888    * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
889    - libtool 2 workaround
890    
891    * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
892    - update to 5.2.7
893    - enable pdo_dblib driver in php-mssql
894    
895    * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
896    - tweak Summary, thanks to Richard Hughes
897    
898    * Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
899    - move gd_README to php-gd
900    - update to r4 of systzdata patch; introduces a default timezone
901      name of "System/Localtime", which uses /etc/localtime (#469532)
902    
903    * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
904    - enable XPM support in php-gd
905    - Fix BR for php-gd
906    
907    * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
908    - enable T1lib support in php-gd
909    
910    * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
911  - update to 5.2.6  - update to 5.2.6
912    - sync default php.ini with upstream
913    - drop extension_dir from default php.ini, rely on hard-coded
914      default, to make php-common multilib-safe (#455091)
915    - update to r3 of systzdata patch
916    
917    * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
918    - split pspell extension out into php-spell (#443857)
919    
920  * 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
921  - rebuild for StackV2  - Autorebuild for GCC 4.3
922    
923  * 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
924  - 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