/[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.3 - (hide annotations) (download)
Mon Jun 20 19:27:01 2011 UTC (13 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-1_el5_sme_1
Changes since 1.2: +425 -171 lines
Import upstream sources

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

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