/[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.6 - (hide annotations) (download)
Thu Nov 3 22:54:19 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
Changes since 1.5: +30 -4 lines
* Thu Nov 2 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.3.sme
- Obsolete php-domxml and php-dom [SME: 6733]
- Update Obsoletes and Conflicts [SME: 6436]

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

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