/[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.5.2.1 - (hide annotations) (download)
Thu Nov 3 22:49:53 2011 UTC (13 years ago) by slords
Branch: redhat-upstream
CVS Tags: php-5_3_3-1_el5_7_3
Changes since 1.5: +28 -8 lines
Upstream renamed

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

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