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

Annotation of /rpms/php/sme8/php.spec

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


Revision 1.10 - (hide annotations) (download)
Thu Aug 23 02:39:15 2012 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-13_el5_sme_1
Changes since 1.9: +25 -20 lines
* Wed Aug 22 2012 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme.1
- Add php53-* provides to provide compatibility

1 slords 1.3 %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 slords 1.2
18 slords 1.3 Summary: PHP scripting language for creating dynamic web sites
19 slords 1.1 Name: php
20 slords 1.3 Version: 5.3.3
21 slords 1.10 Release: 13%{?dist}.1
22 slords 1.3 License: PHP and LGPLv2 and LGPLv2+
23 slords 1.1 Group: Development/Languages
24     URL: http://www.php.net/
25    
26     Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
27     Source1: php.conf
28     Source2: php.ini
29     Source3: macros.php
30    
31 slords 1.3 # Build fixes
32     Patch1: php-5.3.3-gnusrc.patch
33     Patch2: php-5.3.0-install.patch
34 slords 1.1 Patch3: php-5.2.4-norpath.patch
35 slords 1.3 Patch4: php-5.3.0-phpize64.patch
36     Patch5: php-5.2.0-includedir.patch
37     Patch8: php-5.3.3-aconf26x.patch
38    
39     # Fixes for extensions
40     Patch20: php-4.3.11-shutdown.patch
41 slords 1.1
42     # Functional changes
43 slords 1.3 Patch40: php-5.0.4-dlopen.patch
44     Patch41: php-5.3.0-easter.patch
45     Patch42: php-5.3.1-systzdata-v7.patch
46 slords 1.1
47     # Fixes for tests
48 slords 1.3 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 slords 1.9 Patch102: php-5.3.3-varnegidx.patch
55 slords 1.3
56     # Fixes for security bugs
57     Patch207: php-5.3.2-CVE-2010-3709.patch
58     Patch208: php-5.3.2-CVE-2010-3870.patch
59 slords 1.9 Patch209: php-5.3.2-CVE-2010-4645.patch
60 slords 1.3 Patch210: php-5.3.3-CVE-2010-3710.patch
61 slords 1.9 Patch211: php-5.3.3-CVE-2010-4156.patch
62 slords 1.6 Patch212: php-5.3.3-CVE-2011-0708.patch
63     Patch213: php-5.3.3-CVE-2011-1148.patch
64     Patch214: php-5.3.3-CVE-2011-1466.patch
65     Patch215: php-5.3.3-CVE-2011-1468.patch
66     Patch216: php-5.3.3-CVE-2011-1469.patch
67     Patch218: php-5.3.3-CVE-2011-1471.patch
68     Patch219: php-5.3.3-CVE-2011-1938.patch
69     Patch220: php-5.3.3-CVE-2011-2202.patch
70     Patch221: php-5.3.3-CVE-2011-2483.patch
71 slords 1.8 Patch222: php-5.3.3-CVE-2011-4885.patch
72     Patch223: php-5.3.3-CVE-2011-4566.patch
73     Patch224: php-5.3.3-CVE-2012-0830.patch
74 slords 1.9 Patch225: php-5.3.3-CVE-2012-1823.patch
75     Patch226: php-5.3.3-CVE-2012-2336.patch
76     Patch230: php-5.3.3-CVE-2011-4153.patch
77     Patch232: php-5.3.3-CVE-2012-1172.patch
78     Patch233: php-5.3.3-CVE-2012-2143.patch
79     Patch234: php-5.3.3-CVE-2012-2386.patch
80     Patch235: php-5.3.3-CVE-2012-0057.patch
81     Patch236: php-5.3.3-CVE-2012-0789.patch
82     Patch237: php-5.3.3-CVE-2010-2950.patch
83 slords 1.1
84     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
85    
86 slords 1.3 BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
87     BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
88     BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel
89     BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon
90 slords 1.1 BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
91 slords 1.3 Requires: httpd-mmn = %{httpd_mmn}
92 slords 1.1 Provides: mod_php = %{version}-%{release}
93 slords 1.10 Provides: php53 = %{version}-%{release}, config(php53) = %{version}-%{release}
94 slords 1.3 Requires: %{name}-common = %{version}-%{release}
95 slords 1.1 # For backwards-compatibility, require php-cli for the time being:
96 slords 1.3 Requires: %{name}-cli = %{version}-%{release}
97 slords 1.1 # To ensure correct /var/lib/php/session ownership:
98     Requires(pre): httpd
99    
100     %description
101     PHP is an HTML-embedded scripting language. PHP attempts to make it
102     easy for developers to write dynamically generated webpages. PHP also
103     offers built-in database integration for several commercial and
104     non-commercial database management systems, so writing a
105     database-enabled webpage with PHP is fairly simple. The most common
106     use of PHP coding is probably as a replacement for CGI scripts.
107    
108     The php package contains the module which adds support for the PHP
109     language to Apache HTTP Server.
110    
111     %package cli
112     Group: Development/Languages
113     Summary: Command-line interface for PHP
114 slords 1.3 Requires: %{name}-common = %{version}-%{release}
115 slords 1.10 Provides: php-cgi = %{version}-%{release}, php53-cli = %{version}-%{release}
116 slords 1.3 Provides: php-pcntl
117 slords 1.1
118     %description cli
119     The php-cli package contains the command-line interface
120     executing PHP scripts, /usr/bin/php, and the CGI interface.
121    
122     %package common
123     Group: Development/Languages
124     Summary: Common files for PHP
125     Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
126     Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}
127     # Provides for all builtin modules:
128     Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif
129     Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml
130     Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
131 slords 1.3 Provides: php-spl, php-tokenizer, php-openssl, php-pcre
132     Provides: php-zlib, php-json, php-zip, php-fileinfo
133 slords 1.10 Provides: php53-common = %{version}-%{release}, config(php53-common) = %{version}-%{release}
134 slords 1.4 Obsoletes: php-openssl, php-json
135 slords 1.3 # For obsoleted pecl extension
136     Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver}
137     Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver}
138     Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver}
139     Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover}
140 slords 1.4 Obsoletes: php-pecl-json, php-pecl-zip, php-pecl-phar, php-pecl-Fileinfo
141 slords 1.1
142     %description common
143 slords 1.3 The %{name}-common package contains files used by both the php
144 slords 1.1 package and the php-cli package.
145    
146     %package devel
147     Group: Development/Libraries
148     Summary: Files needed for building PHP extensions
149 slords 1.3 Requires: %{name} = %{version}-%{release}, autoconf, automake
150 slords 1.10 Provides: php53-devel = %{version}-%{release}, config(php53-devel) = %{version}-%{release}
151 slords 1.1
152     %description devel
153     The php-devel package contains the files needed for building PHP
154     extensions. If you need to compile your own PHP extensions, you will
155     need to install this package.
156    
157     %package imap
158     Summary: A module for PHP applications that use IMAP
159     Group: Development/Languages
160 slords 1.3 Requires: %{name}-common = %{version}-%{release}
161 slords 1.1 BuildRequires: krb5-devel, openssl-devel, libc-client-devel
162 slords 1.10 Provides: php53-imap = %{version}-%{release}, config(php53-imap) = %{version}-%{release}
163 slords 1.1
164     %description imap
165 slords 1.3 The php-imap package contains a dynamic shared object that will
166     add support for the IMAP protocol to PHP.
167 slords 1.1
168     %package ldap
169     Summary: A module for PHP applications that use LDAP
170     Group: Development/Languages
171 slords 1.3 Requires: %{name}-common = %{version}-%{release}
172 slords 1.1 BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
173 slords 1.10 Provides: php53-ldap = %{version}-%{release}, config(php53-ldap) = %{version}-%{release}
174 slords 1.1
175     %description ldap
176     The php-ldap package is a dynamic shared object (DSO) for the Apache
177     Web server that adds Lightweight Directory Access Protocol (LDAP)
178     support to PHP. LDAP is a set of protocols for accessing directory
179     services over the Internet. PHP is an HTML-embedded scripting
180     language. If you need LDAP support for PHP applications, you will
181     need to install this package in addition to the php package.
182    
183     %package pdo
184     Summary: A database access abstraction module for PHP applications
185     Group: Development/Languages
186 slords 1.3 Requires: %{name}-common = %{version}-%{release}
187 slords 1.1 Provides: php-pdo-abi = %{pdover}
188 slords 1.3 Provides: php-pdo_sqlite
189 slords 1.10 Provides: php53-pdo = %{version}-%{release}, config(php53-pdo) = %{version}-%{release}
190 slords 1.1
191     %description pdo
192 slords 1.3 The %{name}-pdo package contains a dynamic shared object that will add
193 slords 1.1 a database access abstraction layer to PHP. This module provides
194     a common interface for accessing MySQL, PostgreSQL or other
195     databases.
196    
197     %package mysql
198     Summary: A module for PHP applications that use MySQL databases
199     Group: Development/Languages
200 slords 1.3 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
201     Provides: php_database, php-mysqli, php-pdo_mysql
202 slords 1.1 BuildRequires: mysql-devel >= 4.1.0
203 slords 1.10 Provides: php53-mysql = %{version}-%{release}, config(php53-mysql) = %{version}-%{release}
204 slords 1.1
205     %description mysql
206     The php-mysql package contains a dynamic shared object that will add
207     MySQL database support to PHP. MySQL is an object-relational database
208     management system. PHP is an HTML-embeddable scripting language. If
209     you need MySQL support for PHP applications, you will need to install
210     this package and the php package.
211    
212     %package pgsql
213     Summary: A PostgreSQL database module for PHP
214     Group: Development/Languages
215 slords 1.3 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
216     Provides: php_database, php-pdo_pgsql
217 slords 1.1 BuildRequires: krb5-devel, openssl-devel, postgresql-devel
218 slords 1.10 Provides: php53-pgsql = %{version}-%{release}, config(php53-pgsql) = %{version}-%{release}
219 slords 1.1
220     %description pgsql
221     The php-pgsql package includes a dynamic shared object (DSO) that can
222     be compiled in to the Apache Web server to add PostgreSQL database
223     support to PHP. PostgreSQL is an object-relational database management
224     system that supports almost all SQL constructs. PHP is an
225     HTML-embedded scripting language. If you need back-end support for
226     PostgreSQL, you should install this package in addition to the main
227     php package.
228    
229 slords 1.3 %package process
230     Summary: Modules for PHP script using system process interfaces
231     Group: Development/Languages
232     Requires: %{name}-common = %{version}-%{release}
233     Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg
234 slords 1.10 Provides: php53-process = %{version}-%{release}, config(php53-process) = %{version}-%{release}
235 slords 1.3
236     %description process
237     The php-process package contains dynamic shared objects which add
238     support to PHP using system interfaces for inter-process
239     communication.
240    
241 slords 1.1 %package odbc
242     Group: Development/Languages
243 slords 1.3 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
244 slords 1.1 Summary: A module for PHP applications that use ODBC databases
245 slords 1.3 Provides: php_database, php-pdo_odbc
246 slords 1.1 BuildRequires: unixODBC-devel
247 slords 1.10 Provides: php53-odbc = %{version}-%{release}, config(php53-odbc) = %{version}-%{release}
248 slords 1.1
249     %description odbc
250     The php-odbc package contains a dynamic shared object that will add
251     database support through ODBC to PHP. ODBC is an open specification
252     which provides a consistent API for developers to use for accessing
253     data sources (which are often, but not always, databases). PHP is an
254     HTML-embeddable scripting language. If you need ODBC support for PHP
255     applications, you will need to install this package and the php
256     package.
257    
258     %package soap
259     Group: Development/Languages
260 slords 1.3 Requires: %{name}-common = %{version}-%{release}
261 slords 1.1 Summary: A module for PHP applications that use the SOAP protocol
262     BuildRequires: libxml2-devel
263 slords 1.10 Provides: php53-soap = %{version}-%{release}, config(php53-soap) = %{version}-%{release}
264 slords 1.1
265     %description soap
266     The php-soap package contains a dynamic shared object that will add
267     support to PHP for using the SOAP web services protocol.
268    
269     %package snmp
270     Summary: A module for PHP applications that query SNMP-managed devices
271     Group: Development/Languages
272 slords 1.3 Requires: %{name}-common = %{version}-%{release}, net-snmp
273 slords 1.1 BuildRequires: net-snmp-devel
274 slords 1.10 Provides: php53-snmp = %{version}-%{release}, config(php53-snmp) = %{version}-%{release}
275 slords 1.1
276     %description snmp
277     The php-snmp package contains a dynamic shared object that will add
278     support for querying SNMP devices to PHP. PHP is an HTML-embeddable
279     scripting language. If you need SNMP support for PHP applications, you
280     will need to install this package and the php package.
281    
282     %package xml
283     Summary: A module for PHP applications which use XML
284     Group: Development/Languages
285 slords 1.3 Requires: %{name}-common = %{version}-%{release}
286     Provides: php-dom, php-xsl, php-domxml, php-wddx
287 slords 1.1 BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
288 snetram 1.5 Obsoletes: php-domxml, php-dom
289 slords 1.10 Provides: php53-xml = %{version}-%{release}, config(php53-xml) = %{version}-%{release}
290 slords 1.1
291     %description xml
292     The php-xml package contains dynamic shared objects which add support
293     to PHP for manipulating XML documents using the DOM tree,
294     and performing XSL transformations on XML documents.
295    
296     %package xmlrpc
297     Summary: A module for PHP applications which use the XML-RPC protocol
298     Group: Development/Languages
299 slords 1.3 Requires: %{name}-common = %{version}-%{release}
300 slords 1.10 Provides: php53-xmlrpc = %{version}-%{release}, config(php53-xmlrpc) = %{version}-%{release}
301 slords 1.1
302     %description xmlrpc
303     The php-xmlrpc package contains a dynamic shared object that will add
304     support for the XML-RPC protocol to PHP.
305    
306     %package mbstring
307     Summary: A module for PHP applications which need multi-byte string handling
308     Group: Development/Languages
309 slords 1.3 Requires: %{name}-common = %{version}-%{release}
310 slords 1.10 Provides: php53-mbstring = %{version}-%{release}, config(php53-mbstring) = %{version}-%{release}
311 slords 1.1
312     %description mbstring
313     The php-mbstring package contains a dynamic shared object that will add
314     support for multi-byte string handling to PHP.
315    
316     %package gd
317     Summary: A module for PHP applications for using the gd graphics library
318     Group: Development/Languages
319 slords 1.3 Requires: %{name}-common = %{version}-%{release}
320     # Required to build the bundled GD library
321     BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
322 slords 1.10 Provides: php53-gd = %{version}-%{release}, config(php53-gd) = %{version}-%{release}
323 slords 1.1
324     %description gd
325     The php-gd package contains a dynamic shared object that will add
326     support for using the gd graphics library to PHP.
327    
328     %package bcmath
329     Summary: A module for PHP applications for using the bcmath library
330     Group: Development/Languages
331 slords 1.3 Requires: %{name}-common = %{version}-%{release}
332 slords 1.10 Provides: php53-bcmath = %{version}-%{release}, config(php53-bcmath) = %{version}-%{release}
333 slords 1.1
334     %description bcmath
335     The php-bcmath package contains a dynamic shared object that will add
336     support for using the bcmath library to PHP.
337    
338     %package dba
339     Summary: A database abstraction layer module for PHP applications
340     Group: Development/Languages
341 slords 1.3 Requires: %{name}-common = %{version}-%{release}
342 slords 1.10 Provides: php53-dba = %{version}-%{release}, config(php53-dba) = %{version}-%{release}
343 slords 1.1
344     %description dba
345     The php-dba package contains a dynamic shared object that will add
346     support for using the DBA database abstraction layer to PHP.
347    
348 slords 1.3 %package pspell
349     Summary: A module for PHP applications for using pspell interfaces
350     Group: System Environment/Libraries
351     Requires: %{name}-common = %{version}-%{release}
352     BuildRequires: aspell-devel >= 0.50.0
353 slords 1.10 Provides: php53-pspell = %{version}-%{release}, config(php53-pspell) = %{version}-%{release}
354 slords 1.3
355     %description pspell
356     The php-pspell package contains a dynamic shared object that will add
357     support for using the pspell library to PHP.
358    
359     %package intl
360     Summary: Internationalization extension for PHP applications
361     Group: System Environment/Libraries
362     Requires: %{name}-common = %{version}-%{release}
363     BuildRequires: libicu-devel >= 3.6
364 slords 1.10 Provides: php53-intl = %{version}-%{release}, config(php53-intl) = %{version}-%{release}
365 slords 1.3
366     %description intl
367     The php-intl package contains a dynamic shared object that will add
368     support for using the ICU library to PHP.
369    
370 slords 1.1 %prep
371 slords 1.3 %setup -q -n php-%{version}
372 slords 1.1 %patch1 -p1 -b .gnusrc
373     %patch2 -p1 -b .install
374     %patch3 -p1 -b .norpath
375 slords 1.3 %patch4 -p1 -b .phpize64
376     %patch5 -p1 -b .includedir
377     %patch8 -p1 -b .aconf26x
378    
379     %patch20 -p1 -b .shutdown
380 slords 1.1
381 slords 1.3 %patch40 -p1 -b .dlopen
382     %patch41 -p1 -b .easter
383     %patch42 -p1 -b .systzdata
384    
385     %patch61 -p1 -b .tests-wddx
386     %patch62 -p1 -b .testfail
387    
388     %patch100 -p1 -b .r305570
389     %patch101 -p1 -b .r305043
390 slords 1.9 %patch102 -p1 -b .varnegidx
391 slords 1.3
392     %patch207 -p1 -b .cve3709
393     %patch208 -p1 -b .cve3870
394 slords 1.9 %patch209 -p1 -b .cve4645
395 slords 1.3 %patch210 -p1 -b .cve3710
396 slords 1.9 %patch211 -p1 -b .cve4156
397 slords 1.6 %patch212 -p1 -b .cve0708
398     %patch213 -p1 -b .cve1148
399     %patch214 -p1 -b .cve1466
400     %patch215 -p1 -b .cve1468
401     %patch216 -p1 -b .cve1469
402     %patch218 -p1 -b .cve1471
403     %patch219 -p1 -b .cve1938
404     %patch220 -p1 -b .cve2202
405     %patch221 -p1 -b .cve2483
406 slords 1.8 %patch222 -p1 -b .cve4885
407     %patch223 -p1 -b .cve4566
408     %patch224 -p1 -b .cve0830
409 slords 1.9 %patch225 -p1 -b .cve1823
410     %patch226 -p1 -b .cve2336
411 slords 1.8
412 slords 1.9 %patch230 -p1 -b .cve4153
413     %patch232 -p1 -b .cve1172
414     %patch233 -p1 -b .cve2143
415     %patch234 -p1 -b .cve2386
416     %patch235 -p1 -b .cve0057
417     %patch236 -p1 -b .cve0789
418     %patch237 -p1 -b .cve2950
419 slords 1.1
420     # Prevent %%doc confusion over LICENSE files
421 slords 1.3 cp -p Zend/LICENSE Zend/ZEND_LICENSE
422     cp -p TSRM/LICENSE TSRM_LICENSE
423     cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
424     cp -p ext/gd/libgd/README gd_README
425 slords 1.1
426 slords 1.3 # Multiple builds for multiple SAPIs
427 slords 1.1 mkdir build-cgi build-apache
428    
429     # Remove bogus test; position of read position after fopen(, "a+")
430     # is not defined by C standard, so don't presume anything.
431     rm -f ext/standard/tests/file/bug21131.phpt
432    
433     # Tests that fail.
434     rm -f ext/standard/tests/file/bug22414.phpt \
435     ext/iconv/tests/bug16069.phpt
436    
437 slords 1.3 # Remove tests which require external network access
438     rm -f ext/sockets/tests/socket_bind.diff
439    
440     # Easter eggs no not shipped
441     rm -f tests/basic/php_egg_logo_guid.diff
442    
443 slords 1.1 # Safety check for API version change.
444     vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
445     if test "x${vapi}" != "x%{apiver}"; then
446     : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
447     : Update the apiver macro and rebuild.
448     exit 1
449     fi
450    
451     vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
452     if test "x${vzend}" != "x%{zendver}"; then
453     : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
454     : Update the zendver macro and rebuild.
455     exit 1
456     fi
457    
458     # Safety check for PDO ABI version change
459     vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h`
460     if test "x${vpdo}" != "x%{pdover}"; then
461     : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
462     : Update the pdover macro and rebuild.
463     exit 1
464     fi
465    
466 slords 1.3 # Check for some extension version
467     ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
468     if test "$ver" != "%{fileinfover}"; then
469     : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
470     : Update the fileinfover macro and rebuild.
471     exit 1
472     fi
473     ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
474     if test "$ver" != "%{pharver}"; then
475     : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
476     : Update the pharver macro and rebuild.
477     exit 1
478     fi
479     ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
480     if test "$ver" != "%{zipver}"; then
481     : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
482     : Update the zipver macro and rebuild.
483     exit 1
484     fi
485     ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
486     if test "$ver" != "%{jsonver}"; then
487     : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
488     : Update the jsonver macro and rebuild.
489     exit 1
490     fi
491    
492     # Fix some bogus permissions
493     find . -name \*.[ch] -exec chmod 644 {} \;
494     chmod 644 README.*
495    
496 slords 1.1 %build
497 slords 1.3 # aclocal workaround - to be improved
498     cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
499    
500 slords 1.1 # Force use of system libtool:
501     libtoolize --force --copy
502 slords 1.3 cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
503 slords 1.1
504     # Regenerate configure scripts (patches change config.m4's)
505 slords 1.3 touch configure.in
506 slords 1.1 ./buildconf --force
507    
508     CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
509     export CFLAGS
510    
511     # Install extension modules in %{_libdir}/php/modules.
512     EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
513    
514     # Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
515     # includes the PEAR directory even though pear is packaged
516     # separately.
517     PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
518    
519     # Shell function to configure and build a PHP tree.
520     build() {
521     # bison-1.875-2 seems to produce a broken parser; workaround.
522     mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
523     ln -sf ../configure
524     %configure \
525     --cache-file=../config.cache \
526     --with-libdir=%{_lib} \
527     --with-config-file-path=%{_sysconfdir} \
528     --with-config-file-scan-dir=%{_sysconfdir}/php.d \
529     --disable-debug \
530     --with-pic \
531     --disable-rpath \
532     --without-pear \
533     --with-bz2 \
534     --with-exec-dir=%{_bindir} \
535     --with-freetype-dir=%{_prefix} \
536     --with-png-dir=%{_prefix} \
537 slords 1.3 --with-xpm-dir=%{_prefix} \
538 slords 1.1 --enable-gd-native-ttf \
539     --without-gdbm \
540     --with-gettext \
541     --with-gmp \
542     --with-iconv \
543     --with-jpeg-dir=%{_prefix} \
544     --with-openssl \
545     --with-pcre-regex=%{_prefix} \
546     --with-zlib \
547     --with-layout=GNU \
548     --enable-exif \
549     --enable-ftp \
550     --enable-magic-quotes \
551     --enable-sockets \
552     --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
553     --with-kerberos \
554     --enable-ucd-snmp-hack \
555     --enable-shmop \
556     --enable-calendar \
557     --without-sqlite \
558 slords 1.3 --without-sqlite3 \
559 slords 1.1 --with-libxml-dir=%{_prefix} \
560 slords 1.3 --enable-xml \
561 slords 1.1 --with-system-tzdata \
562     $*
563     if test $? != 0; then
564     tail -500 config.log
565     : configure failed
566     exit 1
567     fi
568    
569     make %{?_smp_mflags}
570     }
571    
572     # Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
573     pushd build-cgi
574     build --enable-force-cgi-redirect \
575     --enable-pcntl \
576     --with-imap=shared --with-imap-ssl \
577 slords 1.3 --enable-mbstring=shared \
578 slords 1.1 --enable-mbregex \
579     --with-gd=shared \
580     --enable-bcmath=shared \
581     --enable-dba=shared --with-db4=%{_prefix} \
582     --with-xmlrpc=shared \
583     --with-ldap=shared --with-ldap-sasl \
584     --with-mysql=shared,%{_prefix} \
585 slords 1.3 --with-mysqli=shared,%{mysql_config} \
586 slords 1.1 --enable-dom=shared \
587     --with-pgsql=shared \
588 slords 1.3 --enable-wddx=shared \
589 slords 1.1 --with-snmp=shared,%{_prefix} \
590     --enable-soap=shared \
591     --with-xsl=shared,%{_prefix} \
592     --enable-xmlreader=shared --enable-xmlwriter=shared \
593 slords 1.3 --with-curl=shared,%{_prefix} \
594 slords 1.1 --enable-fastcgi \
595     --enable-pdo=shared \
596     --with-pdo-odbc=shared,unixODBC,%{_prefix} \
597 slords 1.3 --with-pdo-mysql=shared,%{mysql_config} \
598 slords 1.1 --with-pdo-pgsql=shared,%{_prefix} \
599     --with-pdo-sqlite=shared,%{_prefix} \
600     --enable-json=shared \
601     --enable-zip=shared \
602 slords 1.3 --without-readline \
603     --with-pspell=shared \
604     --enable-phar=shared \
605     --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
606     --enable-posix=shared \
607     --with-unixODBC=shared,%{_prefix} \
608     --enable-fileinfo=shared \
609     --enable-intl=shared \
610     --with-icu-dir=%{_prefix}
611 slords 1.1 popd
612    
613 slords 1.3 without_shared="--without-mysql --without-gd \
614     --disable-dom --disable-dba --without-unixODBC \
615     --disable-pdo --disable-xmlreader --disable-xmlwriter \
616     --without-sqlite3 --disable-phar --disable-fileinfo \
617     --disable-json --without-pspell --disable-wddx \
618     --without-curl --disable-posix \
619     --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
620    
621 slords 1.1 # Build Apache module, and the CLI SAPI, /usr/bin/php
622     pushd build-apache
623 slords 1.3 build --with-apxs2=%{_sbindir}/apxs ${without_shared}
624 slords 1.1 popd
625    
626     %check
627     cd build-apache
628     # Run tests, using the CLI SAPI
629     export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
630     unset TZ LANG LC_ALL
631     if ! make test; then
632     set +x
633     for f in `find .. -name \*.diff -type f -print`; do
634     echo "TEST FAILURE: $f --"
635     cat "$f"
636 slords 1.3 echo -e "\n-- $f result ends.\n"
637 slords 1.1 done
638     set -x
639     #exit 1
640     fi
641     unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
642    
643     %install
644     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
645    
646     # Install everything from the CGI SAPI build
647     make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
648    
649     # Install the default configuration file and icons
650     install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
651 slords 1.3 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
652 slords 1.1 install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
653     install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
654    
655     # For third-party packaging:
656     install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
657     $RPM_BUILD_ROOT%{_datadir}/php
658    
659     # install the DSO
660     install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
661     install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
662    
663 slords 1.3 # Apache config fragment
664 slords 1.1 install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
665 slords 1.3 # %{SOURCE1} used here ->
666 slords 1.1 install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
667    
668     install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
669     install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
670     install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
671    
672 slords 1.3 # Fix the link
673     (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
674    
675 slords 1.1 # Generate files lists and stub .ini files for each subpackage
676     for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
677 slords 1.3 mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
678 slords 1.1 pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
679 slords 1.3 phar fileinfo intl pspell curl wddx \
680     posix sysvshm sysvsem sysvmsg; do
681 slords 1.1 cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
682     ; Enable ${mod} extension module
683     extension=${mod}.so
684     EOF
685     cat > files.${mod} <<EOF
686     %attr(755,root,root) %{_libdir}/php/modules/${mod}.so
687     %config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini
688     EOF
689     done
690    
691     # The dom, xsl and xml* modules are all packaged in php-xml
692 slords 1.3 cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
693 slords 1.1
694     # The mysql and mysqli modules are both packaged in php-mysql
695     cat files.mysqli >> files.mysql
696    
697     # Split out the PDO modules
698     cat files.pdo_mysql >> files.mysql
699     cat files.pdo_pgsql >> files.pgsql
700     cat files.pdo_odbc >> files.odbc
701    
702 slords 1.3 # sysv* and posix in packaged in php-process
703     cat files.sysv* files.posix > files.process
704    
705     # Package pdo_sqlite with pdo.
706 slords 1.1 cat files.pdo_sqlite >> files.pdo
707    
708 slords 1.3 # Package json, zip, curl, phar and fileinfo in -common.
709     cat files.json files.zip files.curl files.phar files.fileinfo > files.common
710 slords 1.1
711     # Install the macros file:
712     install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
713 slords 1.3 # %{SOURCE3} used here ->
714 slords 1.1 sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \
715     < $RPM_SOURCE_DIR/macros.php > macros.php
716     install -m 644 -c macros.php \
717     $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.php
718    
719     # Remove unpackaged files
720     rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
721     $RPM_BUILD_ROOT%{_bindir}/{phptar} \
722 slords 1.3 $RPM_BUILD_ROOT%{_datadir}/pear \
723     $RPM_BUILD_ROOT%{_libdir}/libphp5.la
724 slords 1.1
725     # Remove irrelevant docs
726     rm -f README.{Zeus,QNX,CVS-RULES}
727    
728     %clean
729     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
730     rm files.* macros.php
731    
732     %files
733     %defattr(-,root,root)
734     %{_libdir}/httpd/modules/libphp5.so
735     %attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
736     %config(noreplace) %{_sysconfdir}/httpd/conf.d/php.conf
737     %{contentdir}/icons/php.gif
738    
739     %files common -f files.common
740     %defattr(-,root,root)
741 slords 1.3 %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
742     %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
743 slords 1.8 %doc php.ini-production php.ini-development
744 slords 1.1 %config(noreplace) %{_sysconfdir}/php.ini
745     %dir %{_sysconfdir}/php.d
746     %dir %{_libdir}/php
747     %dir %{_libdir}/php/modules
748     %dir %{_localstatedir}/lib/php
749     %dir %{_libdir}/php/pear
750     %dir %{_datadir}/php
751    
752     %files cli
753     %defattr(-,root,root)
754     %{_bindir}/php
755     %{_bindir}/php-cgi
756 slords 1.3 %{_bindir}/phar.phar
757     %{_bindir}/phar
758 slords 1.1 %{_mandir}/man1/php.1*
759     %doc sapi/cgi/README* sapi/cli/README
760    
761     %files devel
762     %defattr(-,root,root)
763     %{_bindir}/php-config
764     %{_bindir}/phpize
765     %{_includedir}/php
766     %{_libdir}/php/build
767     %{_mandir}/man1/php-config.1*
768     %{_mandir}/man1/phpize.1*
769     %config %{_sysconfdir}/rpm/macros.php
770    
771     %files pgsql -f files.pgsql
772     %files mysql -f files.mysql
773     %files odbc -f files.odbc
774     %files imap -f files.imap
775     %files ldap -f files.ldap
776     %files snmp -f files.snmp
777     %files xml -f files.xml
778     %files xmlrpc -f files.xmlrpc
779     %files mbstring -f files.mbstring
780 slords 1.3 %defattr(-,root,root)
781     %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
782 slords 1.1 %files gd -f files.gd
783 slords 1.3 %defattr(-,root,root)
784     %doc gd_README
785 slords 1.1 %files soap -f files.soap
786     %files bcmath -f files.bcmath
787 slords 1.3 %defattr(-,root,root)
788     %doc ext/bcmath/libbcmath/COPYING.LIB
789 slords 1.1 %files dba -f files.dba
790     %files pdo -f files.pdo
791 slords 1.3 %files pspell -f files.pspell
792     %files intl -f files.intl
793     %files process -f files.process
794 slords 1.1
795     %changelog
796 slords 1.10 * Wed Aug 22 2012 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme.1
797     - Add php53-* provides to provide compatibility
798    
799 slords 1.9 * Fri Jun 29 2012 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme
800 snetram 1.5 - Obsolete php-domxml and php-dom [SME: 6733]
801 slords 1.6 - Update Obsoletes and Conflicts [SME: 6436]
802    
803 slords 1.9 * Mon Jun 25 2012 Joe Orton <jorton@redhat.com> - 5.3.3-13
804     - add security fix for CVE-2010-2950
805    
806     * Wed Jun 13 2012 Joe Orton <jorton@redhat.com> - 5.3.3-11
807     - fix tests for CVE-2012-2143, CVE-2012-0789
808    
809     * Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-10
810     - add security fix for CVE-2012-2336
811    
812     * Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-9
813     - add security fixes for CVE-2011-4153, CVE-2012-0057, CVE-2012-0789,
814     CVE-2012-1172, CVE-2012-2143, CVE-2012-2386
815    
816     * Thu May 3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-7
817     - correct detection of = in CVE-2012-1823 fix (#818607)
818 slords 1.8
819 slords 1.9 * Thu May 3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-6
820     - add security fix for CVE-2012-1823 (#818607)
821    
822     * Thu Feb 2 2012 Joe Orton <jorton@redhat.com> - 5.3.3-5
823     - add security fix for CVE-2012-0830 (#786758)
824    
825     * Wed Jan 04 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-4
826 slords 1.8 - remove extra php.ini-prod/devel files caused by %%patch -b
827    
828 slords 1.9 * Tue Jan 03 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-3
829     - add security fixes for CVE-2011-4885, CVE-2011-4566 (#740734)
830 slords 1.8
831 slords 1.9 * Fri Oct 28 2011 Joe Orton <jorton@redhat.com> - 5.3.3-2
832     - add php-$subpkg = V-R provides (#717158)
833     - add security fixes for CVE-2010-3710, CVE-2010-4156, CVE-2010-4645 (#670464)
834 slords 1.6 - add security fixes for CVE-2011-2483, CVE-2011-0708, CVE-2011-1148,
835 slords 1.9 CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1471,
836     CVE-2011-1938, CVE-2011-2202 (#740734)
837     - fix negative keys with var_export (#700724)
838 slords 1.3
839     * Wed Dec 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
840     - update to 5.3.3 (#658315)
841    
842     * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
843     - prevent extract() from clobering $GLOBALS (#655330)
844    
845     * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
846     - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
847     - provide php-devel from -devel (#642701)
848    
849     * Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
850     - use correct mysql_config for pdo-mysql also (#642701)
851    
852     * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
853     - use mysql_config from libdir
854    
855     * Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
856     - add defattr for -mbstring and -bcmath
857    
858     * Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
859     - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
860     - apply phar patch correctly
861     - fix permissions on sources, README.namespaces
862     - drop EXTENSIONS from %%doc
863     - fix Provides for php-cli
864     - drop inappropriate/obsolete Obsoletes
865    
866     * Thu Sep 2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
867     - convert to php53
868     - remove subpackages: embeded, zts, tidy, recode, enchant
869    
870     * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
871     - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
872     CVE-2010-2531, MOPS-2010-060 (#624469)
873    
874     * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
875     - add security fix for CVE-2010-0397 (#575712)
876    
877     * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
878     - add security fix for CVE-2010-2225 (#605644)
879    
880     * Wed May 5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
881     - restore -imap (#586050)
882    
883     * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
884     - remove mcrypt support (#459804, #577257)
885    
886     * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
887     - update to 5.3.2 (#575158, #575712)
888    
889     * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
890     - PHP 5.3.2 Released!
891     - remove mime_magic option (now provided by fileinfo, by emu)
892     - add patch for http://bugs.php.net/50578
893     - remove patch for libedit (upstream)
894    
895     * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
896     - add security fix for CVE-2009-4142 (#552268)
897    
898     * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
899     - drop mssql, pdo_dblib
900    
901     * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
902     - drop imap
903    
904     * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
905     - drop t1lib, interbase/firebird support
906    
907     * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
908     - update to v7 of systzdata patch
909    
910     * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
911     - fix build with autoconf 2.6x
912    
913     * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
914     - update to 5.3.1
915     - remove openssl patch (merged upstream)
916     - add provides for php-pecl-json
917     - add prod/devel php.ini in doc
918    
919     * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
920     - use libedit instead of readline to resolve licensing issues
921    
922     * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
923     - rebuilt with new openssl
924    
925     * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
926     - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
927    
928     * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
929     - rediff systzdata patch
930    
931     * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
932     - update to v6 of systzdata patch; various fixes
933    
934     * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
935     - update to v5 of systzdata patch; parses zone.tab and extracts
936     timezone->{country-code,long/lat,comment} mapping table
937    
938     * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
939     - update to 5.3.0
940     - remove ncurses, dbase, mhash extensions
941     - add enchant, sqlite3, intl, phar, fileinfo extensions
942     - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
943     - sync with upstream "production" php.ini
944    
945     * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
946 slords 1.1 - update to 5.2.10
947 slords 1.3 - add interbase sub-package
948    
949     * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
950     - update to 5.2.9
951    
952     * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
953     - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
954    
955     * Thu Feb 5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
956     - add recode support, -recode subpackage (#106755)
957     - add -zts subpackage with ZTS-enabled build of httpd SAPI
958     - adjust php.conf to use -zts SAPI build for worker MPM
959    
960     * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
961     - fix patch fuzz, renumber patches
962    
963     * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
964     - drop obsolete configure args
965     - drop -odbc patch (#483690)
966    
967     * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
968     - split out sysvshm, sysvsem, sysvmsg, posix into php-process
969    
970     * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
971     - move wddx to php-xml, build curl shared in -common
972     - remove BR for expat-devel, bogus configure option
973 slords 1.1
974 slords 1.3 * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
975     - rebuild for new MySQL
976    
977     * Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
978     - libtool 2 workaround for phpize (#476004)
979     - add missing php_embed.h (#457777)
980    
981     * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
982     - update to 5.2.8
983    
984     * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
985     - libtool 2 workaround
986    
987     * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
988     - update to 5.2.7
989     - enable pdo_dblib driver in php-mssql
990    
991     * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
992     - tweak Summary, thanks to Richard Hughes
993    
994     * Tue Nov 4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
995     - move gd_README to php-gd
996     - update to r4 of systzdata patch; introduces a default timezone
997     name of "System/Localtime", which uses /etc/localtime (#469532)
998 slords 1.1
999 slords 1.3 * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
1000     - enable XPM support in php-gd
1001     - Fix BR for php-gd
1002 slords 1.1
1003 slords 1.3 * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
1004     - enable T1lib support in php-gd
1005 slords 1.1
1006 slords 1.3 * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
1007 slords 1.1 - update to 5.2.6
1008 slords 1.3 - sync default php.ini with upstream
1009     - drop extension_dir from default php.ini, rely on hard-coded
1010     default, to make php-common multilib-safe (#455091)
1011     - update to r3 of systzdata patch
1012    
1013     * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
1014     - split pspell extension out into php-spell (#443857)
1015 slords 1.1
1016 slords 1.3 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
1017     - Autorebuild for GCC 4.3
1018 slords 1.1
1019     * Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
1020     - ext/date: use system timezone database
1021    
1022     * Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4
1023     - rebuild for libc-client bump
1024    
1025     * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3
1026     - Rebuild for openssl bump
1027    
1028     * Wed Dec 5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2
1029     - update to 5.2.5
1030    
1031     * Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3
1032     - correct pcre BR version (#333021)
1033     - restore metaphone fix (#205714)
1034     - add READMEs to php-cli
1035    
1036     * Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2
1037     - update to 5.2.4
1038    
1039     * Sun Sep 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9
1040     - rebuild for fixed APR
1041    
1042     * Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8
1043     - add ldconfig post/postun for -embedded (Hans de Goede)
1044    
1045     * Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7
1046     - add php-embedded sub-package
1047    
1048     * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
1049     - fix build with new glibc
1050     - fix License
1051    
1052     * Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
1053     - define php_extdir in macros.php
1054    
1055     * Mon Jul 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4
1056     - obsolete php-dbase
1057    
1058     * Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3
1059     - add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy)
1060     - enable dbase extension and package in -common
1061    
1062     * Fri Jun 8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2
1063     - update to 5.2.3 (thanks to Jeff Sheltren)
1064    
1065     * Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
1066     - fix php-pdo *_arg_force_ref global symbol abuse (#216125)
1067    
1068     * Tue May 8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
1069     - rebuild against uw-imap-devel
1070    
1071     * Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
1072     - update to 5.2.2
1073     - synch changes from upstream recommended php.ini
1074    
1075     * Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
1076     - enable SASL support in LDAP extension (#205772)
1077    
1078     * Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4
1079     - drop mime_magic extension (deprecated by php-pecl-Fileinfo)
1080    
1081     * Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3
1082     - fix regression in str_{i,}replace (from upstream)
1083    
1084     * Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2
1085     - update to 5.2.1
1086     - add Requires(pre) for httpd
1087     - trim %%changelog to versions >= 5.0.0
1088    
1089     * Thu Feb 8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10
1090     - bump default memory_limit to 32M (#220821)
1091     - mark config files noreplace again (#174251)
1092     - drop trailing dots from Summary fields
1093     - use standard BuildRoot
1094     - drop libtool15 patch (#226294)
1095    
1096     * Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9
1097     - add php(api), php(zend-abi) provides (#221302)
1098     - package /usr/share/php and append to default include_path (#225434)
1099    
1100     * Tue Dec 5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8
1101     - fix filter.h installation path
1102     - fix php-zend-abi version (Remi Collet, #212804)
1103    
1104     * Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7
1105     - rebuild again
1106    
1107     * Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6
1108     - rebuild for net-snmp soname bump
1109    
1110     * Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5
1111     - build json and zip shared, in -common (Remi Collet, #215966)
1112     - obsolete php-json and php-pecl-zip
1113     - build readline extension into /usr/bin/php* (#210585)
1114     - change module subpackages to require php-common not php (#177821)
1115    
1116     * Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4
1117     - provide php-zend-abi (#212804)
1118     - add /etc/rpm/macros.php exporting interface versions
1119     - synch with upstream recommended php.ini
1120    
1121     * Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3
1122     - update to 5.2.0 (#213837)
1123     - php-xml provides php-domxml (#215656)
1124     - fix php-pdo-abi provide (#214281)
1125    
1126     * Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4
1127     - rebuild for curl soname bump
1128     - add build fix for curl 7.16 API
1129    
1130     * Wed Oct 4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3
1131     - from upstream: add safety checks against integer overflow in _ecalloc
1132    
1133     * Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2
1134     - update to 5.1.6 (security fixes)
1135     - bump default memory_limit to 16M (#196802)
1136    
1137     * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1
1138     - rebuild
1139    
1140     * Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8
1141     - Provide php-posix (#194583)
1142     - only provide php-pcntl from -cli subpackage
1143     - add missing defattr's (thanks to Matthias Saou)
1144    
1145     * Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7
1146     - move Obsoletes for php-openssl to -common (#194501)
1147     - Provide: php-cgi from -cli subpackage
1148    
1149     * Fri Jun 2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6
1150     - split out php-cli, php-common subpackages (#177821)
1151     - add php-pdo-abi version export (#193202)
1152    
1153     * Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1
1154     - rebuilt for new libnetsnmp
1155    
1156     * Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5
1157     - provide mod_php (#187891)
1158     - provide php-cli (#192196)
1159     - use correct LDAP fix (#181518)
1160     - define _GNU_SOURCE in php_config.h and leave it defined
1161     - drop (circular) dependency on php-pear
1162    
1163     * Mon May 8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3
1164     - update to 5.1.4
1165    
1166     * Wed May 3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3
1167     - update to 5.1.3
1168    
1169     * Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5
1170     - provide php-api (#183227)
1171     - add provides for all builtin modules (Tim Jackson, #173804)
1172     - own %%{_libdir}/php/pear for PEAR packages (per #176733)
1173     - add obsoletes to allow upgrade from FE4 PDO packages (#181863)
1174    
1175     * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3
1176     - bump again for double-long bug on ppc(64)
1177    
1178     * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1
1179     - rebuilt for new gcc4.1 snapshot and glibc changes
1180    
1181     * Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4
1182     - rebuild for new libc-client soname
1183    
1184     * Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
1185     - only build xmlreader and xmlwriter shared (#177810)
1186    
1187     * Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
1188     - update to 5.1.2
1189    
1190     * Thu Jan 5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8
1191     - rebuild again
1192    
1193     * Mon Jan 2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7
1194     - rebuild for new net-snmp
1195    
1196     * Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6
1197     - enable short_open_tag in default php.ini again (#175381)
1198    
1199     * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1200     - rebuilt
1201    
1202     * Thu Dec 8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5
1203     - require net-snmp for php-snmp (#174800)
1204    
1205     * Sun Dec 4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4
1206     - add /usr/share/pear back to hard-coded include_path (#174885)
1207    
1208     * Fri Dec 2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3
1209     - rebuild for httpd 2.2
1210    
1211     * Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2
1212     - update to 5.1.1
1213     - remove pear subpackage
1214     - enable pdo extensions (php-pdo subpackage)
1215     - remove non-standard conditional module builds
1216     - enable xmlreader extension
1217    
1218     * Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6
1219     - rebuilt against new openssl
1220    
1221     * Mon Nov 7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5
1222     - pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
1223    
1224     * Tue Nov 1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4
1225     - rebuild for new libnetsnmp
1226    
1227     * Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3
1228     - update to 5.0.5
1229     - add fix for upstream #34435
1230     - devel: require autoconf, automake (#159283)
1231     - pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
1232     - fix imagettftext et al (upstream, #161001)
1233    
1234     * Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11
1235     - ldap: restore ldap_start_tls() function
1236    
1237     * Fri May 6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10
1238     - disable RPATHs in shared extensions (#156974)
1239    
1240     * Tue May 3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9
1241     - build simplexml_import_dom even with shared dom (#156434)
1242     - prevent truncation of copied files to ~2Mb (#155916)
1243     - install /usr/bin/php from CLI build alongside CGI
1244     - enable sysvmsg extension (#142988)
1245    
1246     * Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8
1247     - prevent build of builtin dba as well as shared extension
1248    
1249     * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7
1250     - split out dba and bcmath extensions into subpackages
1251     - BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
1252     - pear: update to DB-1.7.6
1253     - enable FastCGI support in /usr/bin/php-cgi (#149596)
1254    
1255     * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
1256     - build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
1257     built with the CGI SAPI (thanks to Edward Rudd, #137704)
1258     - add php(1) man page for CLI
1259     - fix more test cases to use -n when invoking php
1260    
1261     * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
1262     - rebuild for new libpq soname
1263    
1264     * Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4
1265     - bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
1266     - snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
1267     - mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
1268    
1269     * Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3
1270     - build shared objects as PIC (#154195)
1271    
1272     * Mon Apr 4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2
1273     - fix PEAR installation and bundle PEAR DB-1.7.5 package
1274    
1275     * Fri Apr 1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
1276     - update to 5.0.4 (#153068)
1277     - add .phps AddType to php.conf (#152973)
1278     - better gcc4 fix for libxmlrpc
1279    
1280     * Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
1281     - BuildRequire mysql-devel >= 4.1
1282     - don't mark php.ini as noreplace to make upgrades work (#152171)
1283     - fix subpackage descriptions (#152628)
1284     - fix memset(,,0) in Zend (thanks to Dave Jones)
1285     - fix various compiler warnings in Zend
1286    
1287     * Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4
1288     - package mysqli extension in php-mysql
1289     - really enable pcntl (#142903)
1290     - don't build with --enable-safe-mode (#148969)
1291     - use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
1292    
1293     * Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3
1294     - fix build with GCC 4
1295    
1296     * Wed Feb 9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2
1297     - install the ext/gd headers (#145891)
1298     - enable pcntl extension in /usr/bin/php (#142903)
1299     - add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795)
1300     - add BuildRequire for recent pcre-devel (#147448)
1301    
1302     * Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1
1303     - update to 5.0.3 (thanks to Robert Scheck et al, #143101)
1304     - enable xsl extension (#142174)
1305     - package both the xsl and dom extensions in php-xml
1306     - enable soap extension, shared (php-soap package) (#142901)
1307     - add patches from upstream 5.0 branch:
1308     * Zend_strtod.c compile fixes
1309     * correct php_sprintf return value usage
1310    
1311     * Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8
1312     - update for db4-4.3 (Robert Scheck, #140167)
1313     - build against mysql-devel
1314     - run tests in %%check
1315    
1316     * Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7
1317     - truncate changelog at 4.3.1-1
1318     - merge from 4.3.x package:
1319     - enable mime_magic extension and Require: file (#130276)
1320    
1321     * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6
1322     - fix dom/sqlite enable/without confusion
1323    
1324     * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5
1325     - fix phpize installation for lib64 platforms
1326     - add fix for segfault in variable parsing introduced in 5.0.2
1327    
1328     * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4
1329     - update to 5.0.2 (#127980)
1330     - build against mysqlclient10-devel
1331     - use new RTLD_DEEPBIND to load extension modules
1332     - drop explicit requirement for elfutils-devel
1333     - use AddHandler in default conf.d/php.conf (#135664)
1334     - "fix" round() fudging for recent gcc on x86
1335     - disable sqlite pending audit of warnings and subpackage split
1336    
1337     * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4
1338     - don't build dom extension into 2.0 SAPI
1339    
1340     * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3
1341     - ExclusiveArch: x86 ppc x86_64 for the moment
1342    
1343     * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2
1344     - fix default extension_dir and conf.d/php.conf
1345    
1346     * Thu Sep 9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1
1347     - update to 5.0.1
1348     - only build shared modules once
1349     - put dom extension in php-dom subpackage again
1350     - move extension modules into %%{_libdir}/php/modules
1351     - don't use --with-regex=system, it's ignored for the apache* SAPIs
1352    
1353     * Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com>
1354     - Merge in some spec file changes from Jeff Stern (jastern@uci.edu)
1355    
1356     * Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com>
1357     - bump to 5.0.0
1358     - add patch to prevent clobbering struct re_registers from regex.h
1359     - remove domxml references, replaced with dom now built-in
1360     - fix php.ini to refer to php5 not php4

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed